//
//  PCOrderManager.h
//  PromotionCode
//
//  Created by baken on 2018/2/11.
//  Copyright © 2018年 My. All rights reserved.
//

#import "BaseNetManager.h"
@class PCMyOrderModel,InpourModel,WXInpourModel,PCLocalPayModel,PCOrderDetailModel;

@interface PCOrderManager : BaseNetManager

+ (void)getMyOrderListWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andCompletionHandle:(void (^)(PCMyOrderModel *, NSError *))complete;

+ (void)getOrderDetailWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andOrder_sn:(NSString *)order_sn andCompletionHandle:(void (^)(PCOrderDetailModel *, NSError *))complete;

+ (void)cancelMyOrderListWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andOrderID:(NSString *)orderID andCompletionHandle:(void (^)(PCMyOrderModel *, NSError *))complete;

+(void)freeBuyALiPayWithMoney:(NSDecimalNumber *)money andPid:(NSString *)pid andMonth:(NSString *)month andAttr:(NSString *)attr UserID:(NSString *)uid andSessionID:(NSString *)sessionid andCompletionHandle:(void (^)(InpourModel *, NSError *))complete;


+ (void)freeBuyWXWithMoney:(NSDecimalNumber *)money andPid:(NSString *)pid UserID:(NSString *)uid andSessionID:(NSString *)sessionid andCompletionHandle:(void (^)(WXInpourModel *, NSError *))complete;

+(void)getLocalPayInfoWithMoney:(NSDecimalNumber *)money andPid:(NSString *)pid andMonth:(NSString *)month andAttr:(NSString *)attr UserID:(NSString *)uid andSessionID:(NSString *)sessionid andOrder_sn:(NSString *)order_sn andCompletionHandle:(void (^)(PCLocalPayModel *, NSError *))complete;

+(void)freeBuyLocalWithMoney:(NSDecimalNumber *)total_amount andOrder_sn:(NSString *)order_sn andAttr:(NSString *)attr andToken:(NSString *)token andUserID:(NSString *)uid andSession:(NSString *)session andInstalment:(NSString *)instalment andCompletionHandle:(void (^)(WXInpourModel *, NSError *))complete;


@end
